@extends('edu::layouts.front')

@section('content')
    <div class="container mt-5 bg-white p-3 rounded">
        <div class="row">
            @foreach($lives as $live)
                <div class="col-12 col-sm-3">
                    <div class="card">
                        <a href="{{route('edu.front.live.show',$live)}}">
                            <div class="card-body">
                                <img width="100%" src=" {{$live['config']['preview'] ?? ''}}" alt="">
                            </div>
                            <div class="card-footer text-muted">
                                {{$live['config']['title'] ?? ''}}
                            </div>
                        </a>

                    </div>
                </div>
            @endforeach
        </div>
    </div>
@endsection
